package org.csu.mypetstore.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.Getter;

@Getter
@Data
@TableName("account")
public class Account {
    @TableId(value = "userid",type = IdType.INPUT)
    private String userid;
    @TableField("email")
    private String email;
    @TableField("firstname")
    private String firstname;
    @TableField("lastname")
    private String lastname;
    @TableField("status")
    private String status;
    @TableField("addr1")
    @JsonProperty("address1")
    private String Address1;
    @TableField("addr2")
    @JsonProperty("address2")
    private String Address2;
    @TableField("city")
    private String city;
    @TableField("state")
    private String state;
    @TableField("zip")
    private String zip;
    @TableField("country")
    private String country;
    @TableField("phone")
    private String phone;
}

